public class DebuggerExample {

	public static void main(String[] args) {

		DebuggerExample dbe = new DebuggerExample();
		dbe.run();

	}

	public void run() {
		int[] numerators = new int[] { 20, 100, 40, 500, 100, 100, 40, 500,
				100, 100, 40, 500, 100, 100, 40, 500, 100 };
		int[] denominators = new int[] { 20, 100, 40, 500, 100, 100, 40, 500,
				100, 100, 40, 500, 100, 100, 0, 500, 100 };  

		divideAll(numerators, denominators);
	}

	/**
	 * 
	 * @param n
	 * @param d
	 * @return
	 */
	public int[] divideAll(int[] n, int[] d) {
		int[] rv = new int[d.length];
		Divide div = new Divide();
		for (int i = 0; i < d.length; i++) {
			rv[i] = div.divide(n[i], d[i]);
		}
		return rv;
	}

}
